package com.neusoft.neuiotms.dcom.repository.alter;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.alter.AlterSecondLine;

public interface AlterSecondLineRepository extends JpaRepository<AlterSecondLine, Long> {

    AlterSecondLine findByWorkNumAndTaskId(String workNum, String taskId);

    AlterSecondLine findTopByWorkNumOrderByIdDesc(String workNum);

    List<AlterSecondLine> findByOperatorCodeInOrTransferUserNameIn(List<String> operatorCodeArr,
            List<String> transferUserNameArr);

}
